<template>
<div class="assesswrap">
    <Top/>
    <IntroductionFile/>
    <ByPnScore />
</div>
</template>
<script>
import { useRouter, useRoute } from "vue-router";
import { watch } from "vue";
import ByPnScore from "@/pages/ShowMeetingTime/ByPnScore";
import Top from "@/components/MeetingTime/Top.vue";
import IntroductionFile from '@/components/MeetingTime/IntroductionFile.vue';
export default {
  name: "ShowMeetingTime",
  components: { ByPnScore, Top, IntroductionFile },
  setup(props, context) {
    const $router = useRouter();
    const route = useRoute();
    console.log(route, route.params, route.query);
    watch(
      () => route.path,
      (newValue) => {
        console.log('newValue', newValue, route.params)
        // 滚动页面后跳转路由，回归最顶部
        window.scrollTo(0, 0);
      },
      { immediate: true }
    );
  },
};
</script>
<style  lang="less">
@import '@/assets/less/meeting_time_show.less';
</style>